import VueRouter from 'vue-router';
import Vue from 'vue';

import Home from './views/home.vue';
import Mine from './views/mine.vue';

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        component: Home
    },
    {
        path: '/mine',
        component: Mine
    }
];

const router = new VueRouter({
    routes
});

export default router;
